package rxjava.operators;

import io.reactivex.Observable;
import io.reactivex.functions.Consumer;

/**
 * User: Administrator
 * Date: 2021/3/24
 * Time: 13:54
 * Description:
 */
public class ConcatDemo {
    public static void main(String[] args) {
        Observable.concat(Observable.just(1,2,3), Observable.just(4,5,6)).subscribe(integer -> System.out.println(integer));
    }
}
